<template>
  <div class="footer flx-center">
    <a href="#" target="_blank">
      <!-- Sz-Admin v{{ version }} | Copyright © 2022-{{ new Date().getFullYear() }} 升职哦（sz） -->
      {{ userStore.userInfo?.sys_footerText }} | Copyright © {{ new Date().getFullYear() }}
    </a>
  </div>
</template>
<script setup lang="ts">
import pkg from 'package.json';
import { useUserStore } from '@/stores/modules/user';
const userStore = useUserStore();
const version: string = pkg.version;
</script>
<style scoped lang="scss">
@import './index.scss';
</style>
